<html>
<head>
<title>Test Page</title>
<script type="text/javascript" src="Scripts/Timer.js" />
</head>
<body>
<div id='timer' style="border: 1px solid blue; font-size:50px; background-color:black; color:yellow; width:200px; padding-left:20px;" >Test</div>

<!--<form name="counter"><input type="text" size="8" 
name="d2"></form> 

<script> 
<!-- 
// 
 var milisec=0 
 var seconds=15 
var minitues = 60;
 document.counter.d2.value='60' 

function display(){ 
 if (milisec<=0){ 
    milisec=9 
    seconds-=1 
 } 
 if (seconds<=-1){ 
    milisec=0 
    seconds+=1 
 } 
 else 
{
	
    milisec-=1 
    document.counter.d2.value=seconds+"."+milisec 
    setTimeout("display()",100);
	 if(seconds==0)
	{
	alert("you are done");
	}
} 
}
display(); 
 
</script> 
-->

<script type="text/javascript">window.onload = CreateTimer("timer", 1800);</script>

</body>
</html>
